package cn.xf.service;

import cn.xf.domain.Permission;

import java.util.List;

/**
 * @author xiaofu
 * @date 2021-05-18 12:23
 * @email dearaf@163.com
 */
public interface IPermissionService {
    List<Permission> findAll();

    void save(Permission permission);

    List<Permission> findOtherPermission(String roleId);

    List<Permission> findAllByPage(Integer page, Integer pageSize);
}
